#include "TemperatureMonitor.h"

/* PROTECTED REGION ID(Controller::TemperatureMonitor_customCode) ENABLED START */

/*
 * TODO: Put custom code here.
 */

/* PROTECTED REGION END */

void TemperatureMonitor_Runnable_initialize(void) {
	/* PROTECTED REGION ID(Controller::TemperatureMonitor_RunnableInitializeFunc) ENABLED START */
	/*
	 * TODO: Put runnable initialization code here.
	 */
	/* PROTECTED REGION END */
}

void TemperatureMonitor_Runnable(void) {
	/* PROTECTED REGION ID(Controller::TemperatureMonitor_RunnableFunc) ENABLED START */
	int temperatureDrop = 0;
	TemperatureMonitor_temperatureDrop_receive(&temperatureDrop);
	TemperatureMonitor_display_drawString(temperatureDrop ? "*** Temp. Drop ***" : "                  ", 0, 48);
	/* PROTECTED REGION END */
}
